<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Module: ActionController::Caching</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Module</strong></td>
          <td class="class-name-in-header">ActionController::Caching</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../files/vendor/rails/actionpack/lib/action_controller/caching_rb.html">
                vendor/rails/actionpack/lib/action_controller/caching.rb
                </a>
        <br />
            </td>
        </tr>

        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
<a href="Caching.html">Caching</a> is a cheap way of speeding up slow
applications by keeping the result of calculations, renderings, and
database calls around for subsequent requests. Action Controller affords
you three approaches in varying levels of granularity: Page, Action,
Fragment.
</p>
<p>
You can read more about each approach and the sweeping assistance by
clicking the modules below.
</p>
<p>
Note: To turn off all caching and sweeping, set Base.perform_caching =
false.
</p>

    </div>


   </div>


  </div>


    <!-- if includes -->
    <div id="includes">
      <h3 class="section-bar">Included Modules</h3>

      <div id="includes-list">
        <span class="include-name"><a href="Caching/Pages.html">Pages</a></span>
        <span class="include-name"><a href="Caching/Actions.html">Actions</a></span>
        <span class="include-name"><a href="Caching/Fragments.html">Fragments</a></span>
        <span class="include-name"><a href="Caching/Sweeping.html">Sweeping</a></span>
        <span class="include-name"><a href="Caching/SqlCache.html">SqlCache</a></span>
      </div>
    </div>

    <div id="section">

    <div id="class-list">
      <h3 class="section-bar">Classes and Modules</h3>

      Module <a href="Caching/Actions.html" class="link">ActionController::Caching::Actions</a><br />
Module <a href="Caching/Fragments.html" class="link">ActionController::Caching::Fragments</a><br />
Module <a href="Caching/Pages.html" class="link">ActionController::Caching::Pages</a><br />
Module <a href="Caching/SqlCache.html" class="link">ActionController::Caching::SqlCache</a><br />
Module <a href="Caching/Sweeping.html" class="link">ActionController::Caching::Sweeping</a><br />

    </div>




      


    <!-- if method_list -->


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>